import request from "@/utils/request";
// 获取
export function getList(data) {
  return request({
    url: "/mbacms/introduce/list",
    method: "get",
    params: data
  });
}
// 编辑
export function edit(data) {
    return request({
      url: "/mbacms/introduce",
      method: "put",
      data: data
    });
  }
  // 编辑
export function add(data) {
  return request({
    url: "/mbacms/introduce",
    method: "post",
    data: data
  });
}
  // 编辑
  export function del(ids) {
    return request({
      url: `/mbacms/introduce/${ids}`,
      method: "delete",
    });
  }
  // 获取
export function getList1(data) {
  return request({
    url: "/mbacms/website/list",
    method: "get",
    params: data
  });
}
// 编辑
export function edit1(data) {
    return request({
      url: "/mbacms/website",
      method: "put",
      data: data
    });
}
export function delBanner(id) {
  return request({
    url: `/mbacms/website/${id}`,
    method: "delete"
  });
}
export function delBanner1 (data) {
  return request({
    url: `/mbacms/website`,
    method: "post",
    data: data
  });
}